educational

Graphical Enter Links & Beyond

Having a graphical rather than text-based 'enter' link provides several benefits for free and AVS site owners. These diverse benefits include everything from much wider acceptance by premium AVS services who tend to prefer 'graphically enhanced' sites for inclusion on their link lists, to free site 'warning' pages that strive to divert surfers to a sponsor's site — and stand a much better chance of doing so if their sponsor's banners have a chance to load before the surfer sees that plain text 'enter' link; which is displayed well before any of the page's graphics (including your advertisements) load.

While it's a very simple matter to make a straightforward 'enter' graphic, and indeed, there are many online graphics resources that offer these standard icons as a free download for those who are seriously artistically challenged, today I want to show you an effective technique for making a graphical 'enter' button, complete with a cross-browser JavaScript to provide a 'rollover' effect.

This is one of my favorite techniques; after all, 'happy' buttons enhance a Web page's appearance, and also provide positive feedback to the user. While most JavaScript 'rollover' solutions are simply code-based, and therefore will not work on non-JavaScript enabled browsers, this method will work across all browsers, and is the epitome of 'graceful degradation.' Browsers incapable of rendering the JavaScript will simply display the basic graphic, and as an added bonus, the inclusion of 'alt' tags allows text readers and search engines to parse the link as well. Here's how it's done:

Building the Buttons
The concept behind this technique is really quite simple: we will create two nearly-identical images, altering only the text (foreground) color for this example. For this method to work properly, the images must be the same size, and precisely aligned. While you can accomplish this process with just about any 'paint' program, the following is the procedure with my Web graphics software of choice; Micrografx Picture Publisher 8:

1.) Create a new image by selecting File > New: or by clicking the 'new image' button. I chose to make this 'enter' link 250x50 pixels (a reasonable, and readable, size) and gave it a plain black background — although you could use the Texture tool to fill the blank image with your site's background pattern.

2.) I then used the Text tool to create the 'ENTER' text, selecting a bold, anti-aliased 60pt white Arial font for the primary image. This filled the graphic space completely, leaving a slight border top and bottom that may be cropped to further reduce the file size, but is an 'unnecessary' step for this example. To complete the image, click the 'GIF' button on the main toolbar. The 'GIF Options' dialog box will appear. It is really unnecessary for this to be a transparent image, so I left the default settings intact, ensuring that 'Interlaced GIF' was selected, and then saved this image as 'enter_a.gif'

Any number of other colors or effects such as gradients, glows, or textures could have easily been used, but I wished to keep this simple.

3.) Next, I chose 'Yellow' (255,255,0) from the 'Color Palette' dialog box, and use the 216-color 'MS Internet Explorer' palette to ensure a web-safe color selection. I then used the 'paint bucket' Fill tool to change the text color to the chosen shade of yellow. Any number of other colors or effects such as gradients, glows, or textures could have easily been used, but I wished to keep this all very simple. A repeat of saving the image by hitting the 'GIF' button, with the only change being the file name ('enter_b.gif') completed the building of our buttons.

Adding the Script
Once the graphics are prepared, the magic begins! After building the Web page and uploading the graphics, the script then needs to be added. For a 'before and after' look, check out the HTML:

HTML HEAD TITLE Graphical Enter Link /TITLE /HEAD>
BODY bgcolor="000000" CENTER>

A href="https://xbiz.com/articles/webmastering/0402/29.html" IMG border="0" src="https://xbiz.com/articles/images/pp8-1/enter_a.gif" alt="ENTER" width="250" height="50" /A>

/CENTER /BODY /HTML>

This basic page code is modified to include the 'rollover' image swap plus a status bar mask. You can see the effect in action by clicking here:

HTML HEAD TITLE Graphical Enter Link /TITLE>

SCRIPT LANGUAGE="JavaScript">

!-- ROLLOVER

var NN3 = false;
image1= new Image();
image1.src = "https://xbiz.com/articles/images/pp8-1/enter_a.gif";
image1on = new Image();
image1on.src = "https://xbiz.com/articles/images/pp8-1/enter_b.gif";

function on3(name) {
document[name].src = eval(name + "on.src");
}
function off3(name) {
document[name].src = eval(name + ".src");
}
NN3 = true;

function on(name) {
if (NN3) on3(name);
}
function off(name) {
if (NN3) off3(name);
}

function a(txt) {
self.status = txt
}
function b() {
self.status = ""
}

// ROLLOVER -->

/SCRIPT /HEAD>

BODY bgcolor="000000" CENTER>

A href="https://xbiz.com/articles/mainstream/0402/29.html" onmouseover="on('image1'); a('ENTER');return true;" onmouseout="off('image1'); b();" IMG src="https://xbiz.com/articles/images/pp8-1/enter_a.gif" alt="ENTER" width="250" height="50" border="0" name="image1" /A>

/CENTER /BODY /HTML>

This is a really simple use of a very powerful script. Additional images can be added to use this script for generating site-wide navigational bars and for other times when a good cross-browser, gracefully degradeable image changing script is needed. Have fun, and good luck! ~ Stephen

Copyright © 2025 Adnet Media. All Rights Reserved. XBIZ is a trademark of Adnet Media.
Reproduction in whole or in part in any form or medium without express written permission is prohibited.

More Articles

opinion

WIA Profile: Lainie Speiser

With her fiery red hair and a laugh that practically hugs you, Lainie Speiser is impossible to miss. Having repped some of adult’s biggest stars during her 30-plus years in the business, the veteran publicist is also a treasure trove of tales dating back to the days when print was king and social media not even a glimmer in the industry’s eye.

Women in Adult ·
opinion

Fighting Back Against AI-Fueled Fake Takedown Notices

The digital landscape is increasingly being shaped by artificial intelligence, and while AI offers immense potential, it’s also being weaponized. One disturbing trend that directly impacts adult businesses is AI-powered “DMCA takedown services” generating a flood of fraudulent Digital Millennium Copyright Act (DMCA) notices.

Corey D. Silverstein ·
opinion

Building Seamless Checkout Flows for High-Risk Merchants

For high-risk merchants such as adult businesses, crypto payments are no longer just a backup plan — they’re fast becoming a first choice. More and more businesses are embracing Bitcoin and other digital currencies for consumer transactions.

Jonathan Corona ·
opinion

What the New SCOTUS Ruling Means for AV Laws and Free Speech

On June 27, 2025, the United States Supreme Court handed down its landmark decision in Free Speech Coalition v. Paxton, upholding Texas’ age verification law in the face of a constitutional challenge and setting a new precedent that bolsters similar laws around the country.

Lawrence G. Walters ·
opinion

What You Need to Know Before Relocating Your Adult Business Abroad

Over the last several months, a noticeable trend has emerged: several of our U.S.-based merchants have decided to “pick up shop” and relocate to European countries. On the surface, this sounds idyllic. I imagine some of my favorite clients sipping coffee or wine at sidewalk cafés, embracing a slower pace of life.

Cathy Beardsley ·
profile

WIA Profile: Salima

When Salima first entered the adult space in her mid-20s, becoming a power player wasn’t even on her radar. She was simply looking to learn. Over the years, however, her instinct for strategy, trust in her teams and commitment to creator-first innovation led her from the trade show floor to the executive suite.

Women in Adult ·
opinion

How the Interstate Obscenity Definition Act Could Impact Adult Businesses

Congress is considering a bill that would change the well-settled definition of obscenity and create extensive new risks for the adult industry. The Interstate Obscenity Definition Act, introduced by Sen. Mike Lee, makes a mockery of the First Amendment and should be roundly rejected.

Lawrence G. Walters ·
opinion

What US Sites Need to Know About UK's Online Safety Act

In a high-risk space like the adult industry, overlooking or ignoring ever-changing rules and regulations can cost you dearly. In the United Kingdom, significant change has now arrived in the form of the Online Safety Act — and failure to comply with its requirements could cost merchants millions of dollars in fines.

Cathy Beardsley ·
opinion

Understanding the MATCH List and How to Avoid Getting Blacklisted

Business is booming, sales are steady and your customer base is growing. Everything seems to be running smoothly — until suddenly, Stripe pulls the plug. With one cold, automated email, your payment processing is shut down. No warning, no explanation.

Jonathan Corona ·
profile

WIA Profile: Leah Koons

If you’ve been to an industry event lately, odds are you’ve heard Leah Koons even before you’ve seen her. As Fansly’s director of marketing, Koons helps steer one of the fastest-growing creator platforms on the web.

Women in Adult ·
Show More